package com.example.hfSystem.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.example.hfSystem.dao.AddressBookDao;
import com.example.hfSystem.entity.pojo.AddressBook;
import com.example.hfSystem.service.AddressBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zx
 * @version 1.0
 * @package_name: com.example.hfSystem.service.impl
 * @date 2024/4/10 10:11
 */
@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBookDao, AddressBook> implements AddressBookService {

    @Resource
    private AddressBookDao addressBookDao;
    @Override
    public List<String> selectByYongHuId(Long id) {

        return addressBookDao.selectByYongHuId(id);
    }
}
